package com.haiyu.manager.dao;

import com.haiyu.manager.dto.OrderDTO;
import com.haiyu.manager.dto.OrderSearchDTO;
import com.haiyu.manager.pojo.Order;
import org.springframework.stereotype.Repository;
import tk.mapper.MyMapper;

import java.util.List;

@Repository
public interface OrderMapper extends MyMapper<Order> {
    List<OrderDTO> getOrderList(OrderSearchDTO orderSearch);
    int updateOrder(Order order);

    List<OrderDTO> getOrderListByStatus( Integer orderStatus);


}
